package _spring_test._CircularReference2;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @Author: huangya
 * @Date: 2020/09/22
 * @Description:
 */
public class Test {

    public static void main(String[] args) {
        ApplicationContext ac = new ClassPathXmlApplicationContext("CircularReference2/application-circular-reference2.xml");
        ClassB222 classB222 = (ClassB222)ac.getBean("classB222");
        System.out.println(classB222.bbb());
    }
}
